<?php
class Admin_LayoutController extends Zend_Controller_Action{
	public function init(){
		if ($this->_helper->flashMessenger->hasMessages()) {
			$this->view->flashMessages = $this->_helper->flashMessenger->getMessages();
		}
	}
	
	public function indexAction(){
		
	}
	
	public function headerAction(){
	
		$this->view->menubar = $this->getParam('menubar');
	}
	
	public function toolbarAction(){
	
		$xml = APPLICATION_PATH . '/configs/admin.xml';
		$config = new Zend_Config_Xml($xml, 'nav');
		$container = new Zend_Navigation($config);
		$this->view->container = $container;
		
	}
	public function flashmessageAction(){
		
	}
	
	
	
	public function footerAction(){
	
	}
}